import { normalizeContainer } from '@/components/global_comps/Func/normalizeContainer';
import type { uni_type_props } from './cla_uni_type_props';

const uni_type_staticNodeTag = 'uni_type_staticNode';

export class uni_type_staticNode {
  get [Symbol.toStringTag]() {
    return uni_type_staticNodeTag;
  }

  constructor(props: uni_type_props) {
    this.dom_border = normalizeContainer(props.cur_uni_type_id!)!;

    this.cur_info = props;
  }

  /**
   * 当前 数据 信息
   */
  cur_info: uni_type_props;

  /**
   * 当前 元素 主体
   */
  dom_border: HTMLElement;
}
